using HCore.IOC.Context.Stereotype;
using JetBrains.Annotations;
using Session;

namespace UI.UIMenu
{
    [UsedImplicitly]
    [Component]
    public class UIMenuService : SessionProvider
    {
        public void OpenSystemMenu()
        {
            GameManager.DispatchRouter(Router.GamePageMenu);
        }

        public void CloseMenu()
        {
            GameManager.DispatchRouter(Router.GamePage);
        }
    }
}